package com.example.com.daervideo.myViews;

import android.content.Context;

import com.tencent.rtmp.TXVodPlayer;
import com.tencent.rtmp.ui.TXCloudVideoView;

public class MyTXVodPlayer extends TXVodPlayer {
    private TXCloudVideoView txVideo;
    private int mRenderMode;

    public MyTXVodPlayer(Context context) {
        super(context);
    }

    public void setVideoView(TXCloudVideoView txVideo) {
        this.txVideo = txVideo;
    }

    public TXCloudVideoView getTxVideo() {
        return txVideo;
    }

    public int getRenderMode() {
        return mRenderMode;
    }

    @Override
    public void setRenderMode(int i) {
        super.setRenderMode(i);
        this.mRenderMode = i;
    }
}
